package com.wqr.pojo;

import java.io.Serializable;
import java.util.Date;

public class Delicious implements Serializable {
    /**
     * 美食序号
     */
    private Integer deliciousId;

    /**
     * 用户序号
     */
    private Integer userId;

    /**
     * 频道序号
     */
    private Integer channelId;

    /**
     * 创建时间
     */
    private Date deliciousTime;

    /**
     * 美食名称
     */
    private String deliciousName;

    /**
     * 美食图片
     */
    private String deliciousPicture;

    /**
     * 美食做法
     */
    private String deliciousPractice;

    /**
     * 美食评分
     */
    private String userName;
    /**
     * 美食评分
     */
    private String channelName;
    /**
     * 美食评分
     */
    private Double deliciousScore;
    
    private String discussContent;
    
    private Date discussTime;

    
    private Integer loginId;
    
    
    
    private String loginName;

    private static final long serialVersionUID = 1L;

    public Integer getDeliciousId() {
        return deliciousId;
    }

    public void setDeliciousId(Integer deliciousId) {
        this.deliciousId = deliciousId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Date getDeliciousTime() {
        return deliciousTime;
    }

    public void setDeliciousTime(Date deliciousTime) {
        this.deliciousTime = deliciousTime;
    }

    public String getDeliciousName() {
        return deliciousName;
    }

    public void setDeliciousName(String deliciousName) {
        this.deliciousName = deliciousName == null ? null : deliciousName.trim();
    }

    public String getDeliciousPicture() {
        return deliciousPicture;
    }

    public void setDeliciousPicture(String deliciousPicture) {
        this.deliciousPicture = deliciousPicture == null ? null : deliciousPicture.trim();
    }

    public String getDeliciousPractice() {
        return deliciousPractice;
    }

    public void setDeliciousPractice(String deliciousPractice) {
        this.deliciousPractice = deliciousPractice == null ? null : deliciousPractice.trim();
    }

    public Double getDeliciousScore() {
        return deliciousScore;
    }

    public void setDeliciousScore(Double deliciousScore) {
        this.deliciousScore = deliciousScore;
    }

    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public Integer getLoginId() {
		return loginId;
	}

	public void setLoginId(Integer loginId) {
		this.loginId = loginId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	
	public String getDiscussContent() {
		return discussContent;
	}

	public void setDiscussContent(String discussContent) {
		this.discussContent = discussContent;
	}

	public Date getDiscussTime() {
		return discussTime;
	}

	public void setDiscussTime(Date discussTime) {
		this.discussTime = discussTime;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", deliciousId=").append(deliciousId);
        sb.append(", userId=").append(userId);
        sb.append(", channelId=").append(channelId);
        sb.append(", deliciousTime=").append(deliciousTime);
        sb.append(", deliciousName=").append(deliciousName);
        sb.append(", deliciousPicture=").append(deliciousPicture);
        //sb.append(", deliciousPractice=").append(deliciousPractice);
        sb.append(", deliciousScore=").append(deliciousScore);
        sb.append(", userName=").append(userName);
        sb.append(", channelName=").append(channelName);
        sb.append(", loginId=").append(loginId);
        sb.append(", loginName=").append(loginName);
        sb.append(", discussTime=").append(discussTime);
        sb.append(", discussContent=").append(discussContent);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}